package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 药铺：解锁日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_drug_store_unlock", desc = "药铺解锁日志", autoSave = true, uploadCk = true)
public class LogDrugStoreUnLock extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "解锁类型：1 农田，2 诊桌，3 药材，4 补药师/账房先生")
    private int type;

    @FieldTypeAnnotation(desc = "对应id")
    private int objId;

    public LogDrugStoreUnLock(long userId, int type, int objId) {
        this.userId = userId;
        this.type = type;
        this.objId = objId;
    }

    public long getUserId() {
        return userId;
    }

}
